package cn.mall.product.service;

import cn.mall.common.utils.PageUtils;
import cn.mall.product.entity.AttrGroupEntity;
import cn.mall.product.vo.AttrGroupVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author ssd
 * @email 18336719215@163.com
 * @date 2023-10-19 11:04:18
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPageBylist(Map<String, Object> params, Long catelogId);

    /**
     * spu当前属性和对应的值
     *
     * @return
     */

    List<AttrGroupVo> getAttrGroupWithAttrBySkuId(Long spuId, Long catelogId);
}

